<%-- 
    Document   : home
    Created on : 23/04/2014, 19:38:33
    Author     : ebastos
--%>
<%@page import="Model.EnumTipoFuncionario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>
<%@taglib prefix='fmt' uri='http://java.sun.com/jsp/jstl/fmt' %>
<% pageContext.setAttribute("GERENTE", EnumTipoFuncionario.GERENTE); %>
<% pageContext.setAttribute("FUNCIONARIO", EnumTipoFuncionario.FUNCIONARIO);%>
<fmt:setLocale value="pt_BR" scope="application" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="./css/estilo.css">
        <link rel="stylesheet" type="text/css" href="./css/botao.css">
        <link rel="stylesheet" type="text/css" href="./css/link.css">
        <link rel="stylesheet" type="text/css" href="./css/tabela.css">
        <link rel="stylesheet" type="text/css" href="./css/imagens.css">
        <script type="text/javascript" src="./jquery/jquery.min.js"></script>
        <c:if test="${sessionScope.titulo == null || sessionScope.titulo == ''}">
            <% session.setAttribute("titulo", "NãoTemBook");%>
        </c:if>
        <title><c:out value="${sessionScope.titulo}"/></title>
    </head>
    <body>
        <%@include file="/HOME/CABECALHO/cabecalho.jspf" %>
        <%@include file="/MENU/menu.jspf" %>
        <c:choose>
            <c:when test="${sessionScope.funcionario != null}">
                <c:if test="${sessionScope.pagina != null && sessionScope.pagina != ''}">
                    <c:import url="${sessionScope.pagina}" />
                </c:if>
            </c:when>
            <c:otherwise>
                <br>
                <br>
                <br>
                Bem vindo!<br>
                Para começar a usar o sistema favor fazer o login.
            </c:otherwise>
        </c:choose>
    </body>
</html>
